package com.first.module.acm.service.impl;

import java.util.HashMap;
import java.util.Set;

import com.first.core.service.impl.BaseServiceImpl;
import com.first.module.acm.dao.AppRoleDao;
import com.first.module.acm.model.AppRole;
import com.first.module.acm.service.AppRoleService;

public class AppRoleServiceImpl extends BaseServiceImpl<AppRole>
  implements AppRoleService
{
  private AppRoleDao dao;

  public AppRoleServiceImpl(AppRoleDao dao)
  {
    super(dao);
    this.dao = dao;
  }

  public AppRole getByRoleName(String roleName) {
    return this.dao.getByRoleName(roleName);
  }

  public HashMap<String, Set<String>> getSecurityDataSource()
  {
    return this.dao.getSecurityDataSource();
  }
}

